/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.component.pawn.stats;



/**
 * @author Massimo Canonaco
 *
 */
public class AbilityStats extends Stats {

	/** */
	private AbilityValue abilityValue;
	
	private ScalingStats scalingAbilities = new ScalingStats();
	
	/** */
	public AbilityStats()
	{
		super();
//		abilityValue = new AbilityValue();
	}
	
	/** */
	public AbilityStats(final AbilityStats prototype)
	{
		super(prototype);
//		abilityValue = new AbilityValue();

	}
	
	/** */
	public AbilityStats(Stats base, AbilityValue abilities)
	{
		super(base);
		abilityValue = abilities;
	}
	/** */
	public AbilityStats(final String name, Stats base, final boolean frnd, final boolean aoe, final float price)
	{
		super(base);
		abilityValue = new AbilityValue();
		abilityValue.setFriendly(frnd);
		abilityValue.setAreaOfEffect(aoe);
		abilityValue.setName(name);
		abilityValue.setCost(price);
	}

	/**
	 * @return the abilityValue
	 */
	public AbilityValue getAbilityValue() {
		return abilityValue;
	}

	/**
	 * @param abilityValue the abilityValue to set
	 */
	public void setAbilityValue(AbilityValue abilityValue) {
		this.abilityValue = abilityValue;
	}

	public ScalingStats getScalingAbilities() {
		return scalingAbilities;
	}

	public void setScalingAbilities(ScalingStats scalingAbilities) {
		this.scalingAbilities = scalingAbilities;
	}
	
	@Override
	public String toString() {
		
		return super.toString();
	
	}
	/** */
//	public Stats getPercentageValue() {
//		return percentageValue;
//	}
//
//	/** */
//	public void setPercentageValue(Stats percentageValue) {
//		this.percentageValue = percentageValue;
//	}
//
//	/** */
//	public int getNameId() {
//		return name;
//	}
//
//	/** */
//	public boolean isFriendly() {
//		return friendly;
//	}
//
//	/** */
//	public boolean isAreaOfEffect() {
//		return areaOfEffect;
//	}
//
//	/** */
//	public float getCost() {
//		return cost;
//	}

}
